package com.hopu.v1.service.admin.exam;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hopu.v1.pojo.exam.ExamOptionAnswer;
import com.hopu.v1.pojo.exam.ExamQuestions;

import java.util.List;

/**
* @author lihao
* @description 针对表【t_exam_option_answer(考试选项答案表)】的数据库操作Service
* @createDate 2024-09-25 11:24:44
*/
public interface ExamOptionAnswerService extends IService<ExamOptionAnswer> {

    void add(ExamOptionAnswer examOptionAnswer);

    void update(ExamOptionAnswer examOptionAnswer);

    void del(Integer id);

    IPage<ExamOptionAnswer> selectList(Page<ExamOptionAnswer> page, ExamOptionAnswer examOptionAnswer, String endTime);

    /**
     * 批量插入
     * @param allOptions
     */
    void batchAdd(List<ExamOptionAnswer> allOptions);

}
